<?php include_partial('nav'); ?>

        <article>
            <h1 id="index">Index de navires</h1>

            <form action="<?php echo url_for('cl/naviresFilter'); ?>" method="post">
                <?php echo $naviresForm; ?>
                <input type="submit" value="Rechercher" />
            </form>
            <ul>
<?php foreach ($naviresPager->getResults() as $navire): ?>
                <li>
                    <h2><?php echo $navire->getNom(); ?></h2>
                    <p><?php echo $navire->getDescription(); ?></p>
                </li>
<?php endforeach; ?>
            </ul>
<?php include_partial('naviresPagination', array('pager' => $naviresPager)); ?>
        </article>